﻿using EasyAdmin.Domain.Entities.Applications;
using EasyCore.ObjectMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyAdmin.Application.Contracts.Books.Dtos
{
    [MapTo(typeof(Book))]
    public class BookDto 
    {
        [Description("书籍名称")]
        public string Name { get; set; }
        public string Auther { get; set; }
        public DateTime PublishDate { get; set; }
        public float Price { get; set; }
    }
}
